from ftllibs.items.itemtools import ItemIconData

class Item_3174():
    def __init__(self):
        self.parent=False
        self.Name="Athene's Unholy Grail"
        self.IconFileName="3174.png"
        self.ID=3174
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['3108','1005','1052','1052','3028','1005','1033']
        self.Builds_Into=[]
        self.Tags=['spell_block','spell_damage','mana_regen','cooldown_reduction']
        self.Costs = 500
        self.Total_Costs = 2950
        self.Description="+80 Ability Power +36 Magic Resist +15 Mana Regen per 5 seconds UNIQUE Passive: 15% Cooldown Reduction UNIQUE Passive: Restores 12% of your max Mana on Kill or Assist. UNIQUE Passive: Increases your Mana Regen by 1% per 1% Mana you are missing. Does not stack with Chalice of Harmony."
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Ability_Power += 80.0
        self.parent.Magic_Resist += 36.0
        self.parent.Mana_Regen_per_5_seconds += 15.0
        self.parent.Cooldown_Reduction += 15.0
        # above is %
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass


